using UnityEngine;
using System.Collections;

public class selecaoCenas : MonoBehaviour {

	public GUISkin skin;
	
	public static int kid , adolescent , young , adult ,  elder;
	Rect button = new Rect(Screen.width/2 , Screen.height/12 , 100 * Menu.ns.x , 70* Menu.ns.y);
	void Start () 
	{
		kid = 5;
		skin.button.fontSize = (int)(30 * Menu.ns.y);
	}
	
	void Update () 
	{
	
	}
	
	void OnGUI()
	{
		GUI.skin = skin;
		
		for(int i = 0 ; i < kid ; i++)
		{
			if(GUI.Button(new Rect(button.x - (button.width / 2)  , button.y + button.width * i , button.width , button.height),"Fase" + + (i + 1)))
			{
				Application.LoadLevel("Fase_Crianca_" + (i + 1));
			}
		}
	}
}
